package com.xqboss.apps.convert.punch;


import com.xqboss.apps.domain.punch.PunchRule;
import com.xqboss.apps.vo.punch.PunchRuleVo;
import org.mapstruct.Mapper;

import java.util.List;

/**
 *  <p>
 *      打卡规则转换器
 *  </p>
 * @author Trent
 * @date 2023/8/17
 */
@Mapper(componentModel = "spring")
public interface PunchRuleConverter {

    PunchRuleVo toVo(PunchRule punchRule);

    List<PunchRuleVo> toVoList(List<PunchRule> list);

}
